/**
 * 赛力斯知识图谱示例数据
 */
export const sailisiGraphData = {
  settings: {
    epoch: 'time',
    epochFormat: 'YYYY-M-D H:m:s',
    source: 'source',
    target: 'target'
  },
  
  // 节点数据 - 扩展版本
  nodes: {
    // 原有核心节点
    '车门链接总成': { type: 'factory', group: 1, category: '制造' },
    '线束总成': { type: 'production', group: 1, category: '制造' },
    'ECU控制器': { type: 'production', group: 1, category: '制造' },
    '前门密封条': { type: 'monitor', group: 1, category: '质量' },
    '后顶盖外板组件': { type: 'quality', group: 1, category: '质量' },
    '短路检测': { type: 'data', group: 2, category: '检测' },
    '材料管理': { type: 'ai', group: 3, category: '管理' },
    '预测维护': { type: 'maintenance', group: 4, category: '维护' },
    '能源管理': { type: 'energy', group: 4, category: '管理' },
    '人员管理': { type: 'personnel', group: 5, category: '管理' },
    '温度传感器': { type: 'sensor', group: 2, category: '传感器' },
    '压力传感器': { type: 'sensor', group: 2, category: '传感器' },
    '智能制造系统': { type: 'ai', group: 3, category: 'AI' },
    '质量检测AI': { type: 'ai', group: 3, category: 'AI' },
    '生产调度': { type: 'schedule', group: 4, category: '调度' },
    '库存管理': { type: 'inventory', group: 4, category: '管理' },
    '供应链管理': { type: 'supply', group: 5, category: '供应链' },
    '客户反馈': { type: 'feedback', group: 6, category: '反馈' },
    '产品追溯': { type: 'trace', group: 6, category: '追溯' },
    '安全监控': { type: 'safety', group: 2, category: '安全' },

    // 新增制造相关节点
    '发动机总成': { type: 'factory', group: 1, category: '制造' },
    '变速箱总成': { type: 'factory', group: 1, category: '制造' },
    '底盘系统': { type: 'factory', group: 1, category: '制造' },
    '刹车系统': { type: 'production', group: 1, category: '制造' },
    '转向系统': { type: 'production', group: 1, category: '制造' },
    '悬挂系统': { type: 'production', group: 1, category: '制造' },
    '轮胎总成': { type: 'production', group: 1, category: '制造' },
    '内饰总成': { type: 'production', group: 1, category: '制造' },
    '外观装饰': { type: 'production', group: 1, category: '制造' },
    '灯光系统': { type: 'production', group: 1, category: '制造' },
    '音响系统': { type: 'production', group: 1, category: '制造' },
    '空调系统': { type: 'production', group: 1, category: '制造' },
    '座椅系统': { type: 'production', group: 1, category: '制造' },
    '仪表盘': { type: 'production', group: 1, category: '制造' },
    '中控台': { type: 'production', group: 1, category: '制造' },

    // 新增质量检测节点
    '外观检测': { type: 'quality', group: 1, category: '质量' },
    '尺寸检测': { type: 'quality', group: 1, category: '质量' },
    '功能测试': { type: 'quality', group: 1, category: '质量' },
    '耐久性测试': { type: 'quality', group: 1, category: '质量' },
    '安全性测试': { type: 'quality', group: 1, category: '质量' },
    '环保检测': { type: 'quality', group: 1, category: '质量' },
    '噪音检测': { type: 'monitor', group: 1, category: '质量' },
    '振动检测': { type: 'monitor', group: 1, category: '质量' },
    '密封性检测': { type: 'monitor', group: 1, category: '质量' },
    '电气检测': { type: 'monitor', group: 1, category: '质量' },

    // 新增传感器节点
    '流量传感器': { type: 'sensor', group: 2, category: '传感器' },
    '速度传感器': { type: 'sensor', group: 2, category: '传感器' },
    '位置传感器': { type: 'sensor', group: 2, category: '传感器' },
    '力传感器': { type: 'sensor', group: 2, category: '传感器' },
    '光传感器': { type: 'sensor', group: 2, category: '传感器' },
    '声音传感器': { type: 'sensor', group: 2, category: '传感器' },
    '化学传感器': { type: 'sensor', group: 2, category: '传感器' },
    '湿度传感器': { type: 'sensor', group: 2, category: '传感器' },
    '气体传感器': { type: 'sensor', group: 2, category: '传感器' },
    '磁力传感器': { type: 'sensor', group: 2, category: '传感器' },

    // 新增数据分析节点
    '数据采集': { type: 'data', group: 2, category: '数据' },
    '数据清洗': { type: 'data', group: 2, category: '数据' },
    '数据存储': { type: 'data', group: 2, category: '数据' },
    '数据分析': { type: 'data', group: 2, category: '数据' },
    '数据可视化': { type: 'data', group: 2, category: '数据' },
    '实时监控': { type: 'data', group: 2, category: '监控' },
    '异常检测': { type: 'data', group: 2, category: '检测' },
    '趋势分析': { type: 'data', group: 2, category: '分析' },
    '性能评估': { type: 'data', group: 2, category: '评估' },
    '预警系统': { type: 'data', group: 2, category: '预警' },

    // 新增AI系统节点
    '机器学习平台': { type: 'ai', group: 3, category: 'AI' },
    '深度学习模型': { type: 'ai', group: 3, category: 'AI' },
    '计算机视觉': { type: 'ai', group: 3, category: 'AI' },
    '自然语言处理': { type: 'ai', group: 3, category: 'AI' },
    '决策支持系统': { type: 'ai', group: 3, category: 'AI' },
    '专家系统': { type: 'ai', group: 3, category: 'AI' },
    '优化算法': { type: 'ai', group: 3, category: 'AI' },
    '模式识别': { type: 'ai', group: 3, category: 'AI' },
    '智能推荐': { type: 'ai', group: 3, category: 'AI' },
    '知识图谱': { type: 'ai', group: 3, category: 'AI' },

    // 新增调度和管理节点
    '生产计划': { type: 'schedule', group: 4, category: '调度' },
    '资源调度': { type: 'schedule', group: 4, category: '调度' },
    '任务分配': { type: 'schedule', group: 4, category: '调度' },
    '流程优化': { type: 'schedule', group: 4, category: '调度' },
    '设备管理': { type: 'maintenance', group: 4, category: '维护' },
    '故障诊断': { type: 'maintenance', group: 4, category: '维护' },
    '维修记录': { type: 'maintenance', group: 4, category: '维护' },
    '备件管理': { type: 'inventory', group: 4, category: '管理' },
    '成本控制': { type: 'inventory', group: 4, category: '管理' },
    '财务管理': { type: 'inventory', group: 4, category: '管理' },

    // 新增人员和培训节点
    '员工培训': { type: 'personnel', group: 5, category: '培训' },
    '技能评估': { type: 'personnel', group: 5, category: '评估' },
    '岗位管理': { type: 'personnel', group: 5, category: '管理' },
    '绩效考核': { type: 'personnel', group: 5, category: '考核' },
    '安全培训': { type: 'safety', group: 2, category: '安全' },
    '应急预案': { type: 'safety', group: 2, category: '安全' },
    '环境保护': { type: 'safety', group: 2, category: '环保' },
    '健康监测': { type: 'safety', group: 2, category: '健康' }
  },
  
  // 边数据 - 扩展版本
  edges: {
    'manufacturing_links': {
      data: [
        // 原有制造链接
        { source: '车门链接总成', target: '线束总成', type: 'contains', weight: 1, time: '2024-01-01 08:00:00' },
        { source: '车门链接总成', target: 'ECU控制器', type: 'contains', weight: 1, time: '2024-01-01 08:30:00' },
        { source: '线束总成', target: '前门密封条', type: 'connects', weight: 2, time: '2024-01-01 09:00:00' },
        { source: 'ECU控制器', target: '前门密封条', type: 'controls', weight: 2, time: '2024-01-01 09:30:00' },
        { source: '前门密封条', target: '后顶盖外板组件', type: 'assembles', weight: 1, time: '2024-01-01 10:00:00' },
        
        // 新增制造关系
        { source: '发动机总成', target: '变速箱总成', type: 'connects', weight: 3, time: '2024-01-01 08:15:00' },
        { source: '发动机总成', target: '底盘系统', type: 'mounts_to', weight: 2, time: '2024-01-01 08:45:00' },
        { source: '底盘系统', target: '刹车系统', type: 'contains', weight: 2, time: '2024-01-01 09:15:00' },
        { source: '底盘系统', target: '转向系统', type: 'contains', weight: 2, time: '2024-01-01 09:45:00' },
        { source: '底盘系统', target: '悬挂系统', type: 'contains', weight: 2, time: '2024-01-01 10:15:00' },
        { source: '悬挂系统', target: '轮胎总成', type: 'supports', weight: 1, time: '2024-01-01 10:45:00' },
        { source: '车门链接总成', target: '内饰总成', type: 'contains', weight: 1, time: '2024-01-01 11:15:00' },
        { source: '内饰总成', target: '座椅系统', type: 'includes', weight: 1, time: '2024-01-01 11:45:00' },
        { source: '内饰总成', target: '仪表盘', type: 'includes', weight: 1, time: '2024-01-01 12:15:00' },
        { source: '仪表盘', target: '中控台', type: 'connects', weight: 1, time: '2024-01-01 12:45:00' },
        { source: '外观装饰', target: '灯光系统', type: 'includes', weight: 1, time: '2024-01-01 13:15:00' },
        { source: '内饰总成', target: '音响系统', type: 'includes', weight: 1, time: '2024-01-01 13:45:00' },
        { source: '内饰总成', target: '空调系统', type: 'includes', weight: 2, time: '2024-01-01 14:15:00' },

        // 大量新增制造关系
        { source: '变速箱总成', target: '刹车系统', type: 'connects', weight: 2, time: '2024-01-01 15:00:00' },
        { source: '变速箱总成', target: '转向系统', type: 'assists', weight: 1, time: '2024-01-01 15:30:00' },
        { source: '刹车系统', target: '轮胎总成', type: 'controls', weight: 3, time: '2024-01-01 16:00:00' },
        { source: '转向系统', target: '轮胎总成', type: 'guides', weight: 2, time: '2024-01-01 16:30:00' },
        { source: '悬挂系统', target: '刹车系统', type: 'supports', weight: 2, time: '2024-01-01 17:00:00' },
        { source: '悬挂系统', target: '转向系统', type: 'supports', weight: 2, time: '2024-01-01 17:30:00' },
        { source: '线束总成', target: '灯光系统', type: 'powers', weight: 2, time: '2024-01-01 18:00:00' },
        { source: 'ECU控制器', target: '音响系统', type: 'controls', weight: 1, time: '2024-01-01 18:30:00' },
        { source: 'ECU控制器', target: '空调系统', type: 'controls', weight: 2, time: '2024-01-01 19:00:00' },
        { source: '灯光系统', target: '外观装饰', type: 'enhances', weight: 1, time: '2024-01-01 19:30:00' },
        { source: '座椅系统', target: '音响系统', type: 'integrates', weight: 1, time: '2024-01-01 20:00:00' },
        { source: '座椅系统', target: '空调系统', type: 'coordinates', weight: 1, time: '2024-01-01 20:30:00' },
        { source: '仪表盘', target: '灯光系统', type: 'displays', weight: 1, time: '2024-01-01 21:00:00' },
        { source: '中控台', target: '音响系统', type: 'controls', weight: 2, time: '2024-01-01 21:30:00' },
        { source: '中控台', target: '空调系统', type: 'manages', weight: 2, time: '2024-01-01 22:00:00' },
        { source: '后顶盖外板组件', target: '外观装饰', type: 'integrates', weight: 1, time: '2024-01-01 22:30:00' },
        { source: '后顶盖外板组件', target: '内饰总成', type: 'protects', weight: 1, time: '2024-01-01 23:00:00' }
      ]
    },
    
    'quality_monitoring': {
      data: [
        // 原有质量监控
        { source: '前门密封条', target: '短路检测', type: 'monitors', weight: 3, time: '2024-01-01 10:30:00' },
        { source: '温度传感器', target: '短路检测', type: 'detects', weight: 2, time: '2024-01-01 11:00:00' },
        { source: '压力传感器', target: '质量检测AI', type: 'feeds', weight: 2, time: '2024-01-01 11:30:00' },
        { source: '质量检测AI', target: '安全监控', type: 'alerts', weight: 3, time: '2024-01-01 12:00:00' },
        
        // 新增质量检测关系
        { source: '外观检测', target: '外观装饰', type: 'inspects', weight: 2, time: '2024-01-01 08:20:00' },
        { source: '尺寸检测', target: '车门链接总成', type: 'measures', weight: 2, time: '2024-01-01 08:50:00' },
        { source: '功能测试', target: '刹车系统', type: 'tests', weight: 3, time: '2024-01-01 09:20:00' },
        { source: '功能测试', target: '转向系统', type: 'tests', weight: 3, time: '2024-01-01 09:50:00' },
        { source: '耐久性测试', target: '发动机总成', type: 'tests', weight: 3, time: '2024-01-01 10:20:00' },
        { source: '安全性测试', target: '悬挂系统', type: 'validates', weight: 3, time: '2024-01-01 10:50:00' },
        { source: '环保检测', target: '发动机总成', type: 'certifies', weight: 2, time: '2024-01-01 11:20:00' },
        { source: '噪音检测', target: '音响系统', type: 'measures', weight: 2, time: '2024-01-01 11:50:00' },
        { source: '振动检测', target: '发动机总成', type: 'monitors', weight: 2, time: '2024-01-01 12:20:00' },
        { source: '密封性检测', target: '前门密封条', type: 'validates', weight: 2, time: '2024-01-01 12:50:00' },
        { source: '电气检测', target: 'ECU控制器', type: 'tests', weight: 2, time: '2024-01-01 13:20:00' },

        // 大量新增质量监控关系
        { source: '外观检测', target: '灯光系统', type: 'inspects', weight: 2, time: '2024-01-01 14:00:00' },
        { source: '外观检测', target: '轮胎总成', type: 'inspects', weight: 2, time: '2024-01-01 14:30:00' },
        { source: '尺寸检测', target: '发动机总成', type: 'measures', weight: 3, time: '2024-01-01 15:00:00' },
        { source: '尺寸检测', target: '变速箱总成', type: 'measures', weight: 2, time: '2024-01-01 15:30:00' },
        { source: '功能测试', target: '悬挂系统', type: 'tests', weight: 3, time: '2024-01-01 16:00:00' },
        { source: '功能测试', target: '灯光系统', type: 'tests', weight: 2, time: '2024-01-01 16:30:00' },
        { source: '功能测试', target: '音响系统', type: 'tests', weight: 2, time: '2024-01-01 17:00:00' },
        { source: '功能测试', target: '空调系统', type: 'tests', weight: 2, time: '2024-01-01 17:30:00' },
        { source: '耐久性测试', target: '变速箱总成', type: 'tests', weight: 3, time: '2024-01-01 18:00:00' },
        { source: '耐久性测试', target: '底盘系统', type: 'tests', weight: 3, time: '2024-01-01 18:30:00' },
        { source: '耐久性测试', target: '轮胎总成', type: 'tests', weight: 2, time: '2024-01-01 19:00:00' },
        { source: '安全性测试', target: '刹车系统', type: 'validates', weight: 3, time: '2024-01-01 19:30:00' },
        { source: '安全性测试', target: '转向系统', type: 'validates', weight: 3, time: '2024-01-01 20:00:00' },
        { source: '安全性测试', target: '座椅系统', type: 'validates', weight: 2, time: '2024-01-01 20:30:00' },
        { source: '环保检测', target: '空调系统', type: 'certifies', weight: 2, time: '2024-01-01 21:00:00' },
        { source: '噪音检测', target: '发动机总成', type: 'measures', weight: 3, time: '2024-01-01 21:30:00' },
        { source: '噪音检测', target: '变速箱总成', type: 'measures', weight: 2, time: '2024-01-01 22:00:00' },
        { source: '振动检测', target: '底盘系统', type: 'monitors', weight: 3, time: '2024-01-01 22:30:00' },
        { source: '振动检测', target: '悬挂系统', type: 'monitors', weight: 2, time: '2024-01-01 23:00:00' },
        { source: '密封性检测', target: '车门链接总成', type: 'validates', weight: 2, time: '2024-01-01 23:30:00' },
        { source: '电气检测', target: '线束总成', type: 'tests', weight: 3, time: '2024-01-02 00:00:00' },
        { source: '电气检测', target: '灯光系统', type: 'tests', weight: 2, time: '2024-01-02 00:30:00' },
        { source: '质量检测AI', target: '外观检测', type: 'assists', weight: 2, time: '2024-01-02 01:00:00' },
        { source: '质量检测AI', target: '功能测试', type: 'guides', weight: 3, time: '2024-01-02 01:30:00' },
        { source: '短路检测', target: '电气检测', type: 'supports', weight: 2, time: '2024-01-02 02:00:00' }
      ]
    },
    
    'sensor_networks': {
      data: [
        // 传感器网络关系
        { source: '流量传感器', target: '发动机总成', type: 'monitors', weight: 2, time: '2024-01-01 08:25:00' },
        { source: '速度传感器', target: '变速箱总成', type: 'tracks', weight: 2, time: '2024-01-01 08:55:00' },
        { source: '位置传感器', target: '转向系统', type: 'detects', weight: 2, time: '2024-01-01 09:25:00' },
        { source: '力传感器', target: '刹车系统', type: 'measures', weight: 3, time: '2024-01-01 09:55:00' },
        { source: '光传感器', target: '灯光系统', type: 'controls', weight: 1, time: '2024-01-01 10:25:00' },
        { source: '声音传感器', target: '音响系统', type: 'monitors', weight: 1, time: '2024-01-01 10:55:00' },
        { source: '化学传感器', target: '环保检测', type: 'feeds', weight: 2, time: '2024-01-01 11:25:00' },
        { source: '湿度传感器', target: '空调系统', type: 'controls', weight: 2, time: '2024-01-01 11:55:00' },
        { source: '气体传感器', target: '安全监控', type: 'alerts', weight: 3, time: '2024-01-01 12:25:00' },
        { source: '磁力传感器', target: '位置传感器', type: 'calibrates', weight: 1, time: '2024-01-01 12:55:00' },

        // 大量新增传感器网络关系
        { source: '温度传感器', target: '发动机总成', type: 'monitors', weight: 3, time: '2024-01-01 13:25:00' },
        { source: '温度传感器', target: '变速箱总成', type: 'monitors', weight: 2, time: '2024-01-01 13:55:00' },
        { source: '温度传感器', target: '空调系统', type: 'feeds', weight: 2, time: '2024-01-01 14:25:00' },
        { source: '压力传感器', target: '刹车系统', type: 'monitors', weight: 3, time: '2024-01-01 14:55:00' },
        { source: '压力传感器', target: '悬挂系统', type: 'detects', weight: 2, time: '2024-01-01 15:25:00' },
        { source: '压力传感器', target: '轮胎总成', type: 'measures', weight: 2, time: '2024-01-01 15:55:00' },
        { source: '流量传感器', target: '变速箱总成', type: 'tracks', weight: 2, time: '2024-01-01 16:25:00' },
        { source: '流量传感器', target: '空调系统', type: 'monitors', weight: 1, time: '2024-01-01 16:55:00' },
        { source: '速度传感器', target: '发动机总成', type: 'measures', weight: 2, time: '2024-01-01 17:25:00' },
        { source: '速度传感器', target: '轮胎总成', type: 'tracks', weight: 3, time: '2024-01-01 17:55:00' },
        { source: '位置传感器', target: '悬挂系统', type: 'monitors', weight: 2, time: '2024-01-01 18:25:00' },
        { source: '位置传感器', target: '座椅系统', type: 'detects', weight: 1, time: '2024-01-01 18:55:00' },
        { source: '力传感器', target: '悬挂系统', type: 'measures', weight: 2, time: '2024-01-01 19:25:00' },
        { source: '力传感器', target: '转向系统', type: 'detects', weight: 2, time: '2024-01-01 19:55:00' },
        { source: '光传感器', target: '外观装饰', type: 'monitors', weight: 1, time: '2024-01-01 20:25:00' },
        { source: '光传感器', target: '仪表盘', type: 'controls', weight: 1, time: '2024-01-01 20:55:00' },
        { source: '声音传感器', target: '发动机总成', type: 'monitors', weight: 2, time: '2024-01-01 21:25:00' },
        { source: '声音传感器', target: '变速箱总成', type: 'detects', weight: 1, time: '2024-01-01 21:55:00' },
        { source: '化学传感器', target: '发动机总成', type: 'monitors', weight: 2, time: '2024-01-01 22:25:00' },
        { source: '湿度传感器', target: '内饰总成', type: 'monitors', weight: 1, time: '2024-01-01 22:55:00' },
        { source: '气体传感器', target: '发动机总成', type: 'monitors', weight: 2, time: '2024-01-01 23:25:00' },
        { source: '气体传感器', target: '空调系统', type: 'alerts', weight: 2, time: '2024-01-01 23:55:00' },
        { source: '磁力传感器', target: '发动机总成', type: 'detects', weight: 1, time: '2024-01-02 00:25:00' },
        { source: '磁力传感器', target: '变速箱总成', type: 'monitors', weight: 1, time: '2024-01-02 00:55:00' },
        
        // 传感器之间的协作关系
        { source: '温度传感器', target: '压力传感器', type: 'coordinates', weight: 1, time: '2024-01-02 01:25:00' },
        { source: '流量传感器', target: '温度传感器', type: 'correlates', weight: 1, time: '2024-01-02 01:55:00' },
        { source: '速度传感器', target: '位置传感器', type: 'coordinates', weight: 2, time: '2024-01-02 02:25:00' },
        { source: '力传感器', target: '压力传感器', type: 'validates', weight: 1, time: '2024-01-02 02:55:00' },
        { source: '光传感器', target: '声音传感器', type: 'complements', weight: 1, time: '2024-01-02 03:25:00' },
        { source: '化学传感器', target: '气体传感器', type: 'correlates', weight: 2, time: '2024-01-02 03:55:00' }
      ]
    },
    
    'data_processing': {
      data: [
        // 数据处理流程
        { source: '数据采集', target: '温度传感器', type: 'collects', weight: 2, time: '2024-01-01 08:30:00' },
        { source: '数据采集', target: '压力传感器', type: 'collects', weight: 2, time: '2024-01-01 09:00:00' },
        { source: '数据采集', target: '流量传感器', type: 'collects', weight: 2, time: '2024-01-01 09:30:00' },
        { source: '数据采集', target: '数据清洗', type: 'sends', weight: 3, time: '2024-01-01 10:00:00' },
        { source: '数据清洗', target: '数据存储', type: 'processes', weight: 3, time: '2024-01-01 10:30:00' },
        { source: '数据存储', target: '数据分析', type: 'provides', weight: 3, time: '2024-01-01 11:00:00' },
        { source: '数据分析', target: '数据可视化', type: 'generates', weight: 2, time: '2024-01-01 11:30:00' },
        { source: '数据分析', target: '实时监控', type: 'enables', weight: 3, time: '2024-01-01 12:00:00' },
        { source: '实时监控', target: '异常检测', type: 'performs', weight: 3, time: '2024-01-01 12:30:00' },
        { source: '异常检测', target: '预警系统', type: 'triggers', weight: 3, time: '2024-01-01 13:00:00' },
        { source: '数据分析', target: '趋势分析', type: 'generates', weight: 2, time: '2024-01-01 13:30:00' },
        { source: '趋势分析', target: '性能评估', type: 'informs', weight: 2, time: '2024-01-01 14:00:00' },

        // 大量新增数据处理关系
        { source: '数据采集', target: '速度传感器', type: 'collects', weight: 2, time: '2024-01-01 14:30:00' },
        { source: '数据采集', target: '位置传感器', type: 'collects', weight: 2, time: '2024-01-01 15:00:00' },
        { source: '数据采集', target: '力传感器', type: 'collects', weight: 2, time: '2024-01-01 15:30:00' },
        { source: '数据采集', target: '光传感器', type: 'collects', weight: 1, time: '2024-01-01 16:00:00' },
        { source: '数据采集', target: '声音传感器', type: 'collects', weight: 1, time: '2024-01-01 16:30:00' },
        { source: '数据采集', target: '化学传感器', type: 'collects', weight: 2, time: '2024-01-01 17:00:00' },
        { source: '数据采集', target: '湿度传感器', type: 'collects', weight: 1, time: '2024-01-01 17:30:00' },
        { source: '数据采集', target: '气体传感器', type: 'collects', weight: 2, time: '2024-01-01 18:00:00' },
        { source: '数据采集', target: '磁力传感器', type: 'collects', weight: 1, time: '2024-01-01 18:30:00' },
        
        // 数据流转和处理
        { source: '数据清洗', target: '数据可视化', type: 'feeds', weight: 2, time: '2024-01-01 19:00:00' },
        { source: '数据存储', target: '实时监控', type: 'supports', weight: 3, time: '2024-01-01 19:30:00' },
        { source: '数据存储', target: '趋势分析', type: 'provides', weight: 2, time: '2024-01-01 20:00:00' },
        { source: '数据存储', target: '性能评估', type: 'supplies', weight: 2, time: '2024-01-01 20:30:00' },
        { source: '数据可视化', target: '实时监控', type: 'displays', weight: 2, time: '2024-01-01 21:00:00' },
        { source: '数据可视化', target: '预警系统', type: 'shows', weight: 2, time: '2024-01-01 21:30:00' },
        { source: '实时监控', target: '趋势分析', type: 'feeds', weight: 2, time: '2024-01-01 22:00:00' },
        { source: '异常检测', target: '数据分析', type: 'informs', weight: 2, time: '2024-01-01 22:30:00' },
        { source: '异常检测', target: '性能评估', type: 'alerts', weight: 2, time: '2024-01-01 23:00:00' },
        { source: '预警系统', target: '数据存储', type: 'logs', weight: 1, time: '2024-01-01 23:30:00' },
        { source: '预警系统', target: '数据可视化', type: 'triggers', weight: 2, time: '2024-01-02 00:00:00' },
        { source: '趋势分析', target: '数据可视化', type: 'generates', weight: 2, time: '2024-01-02 00:30:00' },
        { source: '性能评估', target: '数据可视化', type: 'reports', weight: 2, time: '2024-01-02 01:00:00' },
        { source: '性能评估', target: '预警系统', type: 'configures', weight: 1, time: '2024-01-02 01:30:00' },

        // 与其他系统的数据交互
        { source: '数据分析', target: '质量检测AI', type: 'feeds', weight: 3, time: '2024-01-02 02:00:00' },
        { source: '异常检测', target: '安全监控', type: 'alerts', weight: 3, time: '2024-01-02 02:30:00' },
        { source: '预警系统', target: '智能制造系统', type: 'notifies', weight: 2, time: '2024-01-02 03:00:00' },
        { source: '趋势分析', target: '预测维护', type: 'suggests', weight: 2, time: '2024-01-02 03:30:00' }
      ]
    },
    
    'ai_management': {
      data: [
        // 原有AI管理
        { source: '短路检测', target: '材料管理', type: 'analyzes', weight: 2, time: '2024-01-01 12:30:00' },
        { source: '材料管理', target: '预测维护', type: 'enables', weight: 2, time: '2024-01-01 13:00:00' },
        { source: '材料管理', target: '能源管理', type: 'optimizes', weight: 2, time: '2024-01-01 13:30:00' },
        { source: '智能制造系统', target: '生产调度', type: 'schedules', weight: 3, time: '2024-01-01 14:00:00' },
        { source: '智能制造系统', target: '库存管理', type: 'manages', weight: 2, time: '2024-01-01 14:30:00' },
        
        // 新增AI系统关系
        { source: '机器学习平台', target: '深度学习模型', type: 'trains', weight: 3, time: '2024-01-01 08:35:00' },
        { source: '深度学习模型', target: '计算机视觉', type: 'powers', weight: 3, time: '2024-01-01 09:05:00' },
        { source: '计算机视觉', target: '外观检测', type: 'performs', weight: 3, time: '2024-01-01 09:35:00' },
        { source: '自然语言处理', target: '客户反馈', type: 'analyzes', weight: 2, time: '2024-01-01 10:05:00' },
        { source: '决策支持系统', target: '生产调度', type: 'assists', weight: 3, time: '2024-01-01 10:35:00' },
        { source: '专家系统', target: '故障诊断', type: 'guides', weight: 3, time: '2024-01-01 11:05:00' },
        { source: '优化算法', target: '流程优化', type: 'improves', weight: 3, time: '2024-01-01 11:35:00' },
        { source: '模式识别', target: '异常检测', type: 'enables', weight: 3, time: '2024-01-01 12:05:00' },
        { source: '智能推荐', target: '预测维护', type: 'suggests', weight: 2, time: '2024-01-01 12:35:00' },
        { source: '知识图谱', target: '产品追溯', type: 'maps', weight: 2, time: '2024-01-01 13:05:00' }
      ]
    },
    
    'schedule_management': {
      data: [
        // 调度管理关系
        { source: '生产计划', target: '生产调度', type: 'defines', weight: 3, time: '2024-01-01 08:40:00' },
        { source: '资源调度', target: '任务分配', type: 'allocates', weight: 3, time: '2024-01-01 09:10:00' },
        { source: '任务分配', target: '人员管理', type: 'assigns', weight: 2, time: '2024-01-01 09:40:00' },
        { source: '流程优化', target: '生产计划', type: 'improves', weight: 2, time: '2024-01-01 10:10:00' },
        { source: '设备管理', target: '预测维护', type: 'schedules', weight: 3, time: '2024-01-01 10:40:00' },
        { source: '故障诊断', target: '维修记录', type: 'documents', weight: 2, time: '2024-01-01 11:10:00' },
        { source: '维修记录', target: '备件管理', type: 'requests', weight: 2, time: '2024-01-01 11:40:00' },
        { source: '备件管理', target: '库存管理', type: 'coordinates', weight: 2, time: '2024-01-01 12:10:00' },
        { source: '成本控制', target: '财务管理', type: 'reports', weight: 2, time: '2024-01-01 12:40:00' },
        { source: '财务管理', target: '供应链管理', type: 'budgets', weight: 2, time: '2024-01-01 13:10:00' }
      ]
    },
    
    'supply_chain': {
      data: [
        // 原有供应链
        { source: '库存管理', target: '供应链管理', type: 'coordinates', weight: 2, time: '2024-01-01 15:00:00' },
        { source: '供应链管理', target: '材料管理', type: 'supplies', weight: 3, time: '2024-01-01 15:30:00' },
        { source: '产品追溯', target: '质量检测AI', type: 'traces', weight: 2, time: '2024-01-01 16:00:00' },
        { source: '客户反馈', target: '产品追溯', type: 'triggers', weight: 1, time: '2024-01-01 16:30:00' }
      ]
    },
    
    'personnel_training': {
      data: [
        // 人员培训关系
        { source: '员工培训', target: '技能评估', type: 'validates', weight: 2, time: '2024-01-01 08:45:00' },
        { source: '技能评估', target: '岗位管理', type: 'determines', weight: 2, time: '2024-01-01 09:15:00' },
        { source: '岗位管理', target: '绩效考核', type: 'measures', weight: 2, time: '2024-01-01 09:45:00' },
        { source: '安全培训', target: '员工培训', type: 'includes', weight: 3, time: '2024-01-01 10:15:00' },
        { source: '应急预案', target: '安全培训', type: 'teaches', weight: 3, time: '2024-01-01 10:45:00' },
        { source: '环境保护', target: '安全监控', type: 'supports', weight: 2, time: '2024-01-01 11:15:00' },
        { source: '健康监测', target: '人员管理', type: 'protects', weight: 2, time: '2024-01-01 11:45:00' }
      ]
    },
    
    'management_operations': {
      data: [
        // 原有管理操作
        { source: '车门链接总成', target: '人员管理', type: 'requires', weight: 1, time: '2024-01-01 17:00:00' },
        { source: '人员管理', target: '安全监控', type: 'ensures', weight: 2, time: '2024-01-01 17:30:00' },
        { source: '预测维护', target: '人员管理', type: 'schedules', weight: 1, time: '2024-01-01 18:00:00' },
        { source: '能源管理', target: '智能制造系统', type: 'powers', weight: 3, time: '2024-01-01 18:30:00' }
      ]
    },

    // 新增：跨系统密集连接
    'cross_system_integration': {
      data: [
        // 制造系统与质量系统互联
        { source: '发动机总成', target: '外观检测', type: 'requires', weight: 2, time: '2024-01-02 04:00:00' },
        { source: '变速箱总成', target: '功能测试', type: 'undergoes', weight: 3, time: '2024-01-02 04:30:00' },
        { source: '刹车系统', target: '安全性测试', type: 'undergoes', weight: 3, time: '2024-01-02 05:00:00' },
        { source: '转向系统', target: '耐久性测试', type: 'undergoes', weight: 2, time: '2024-01-02 05:30:00' },
        { source: '轮胎总成', target: '噪音检测', type: 'monitored_by', weight: 2, time: '2024-01-02 06:00:00' },
        { source: '灯光系统', target: '电气检测', type: 'tested_by', weight: 2, time: '2024-01-02 06:30:00' },
        { source: '音响系统', target: '振动检测', type: 'monitored_by', weight: 1, time: '2024-01-02 07:00:00' },
        { source: '空调系统', target: '环保检测', type: 'certified_by', weight: 2, time: '2024-01-02 07:30:00' },

        // 传感器与AI系统深度融合
        { source: '温度传感器', target: '机器学习平台', type: 'trains', weight: 2, time: '2024-01-02 08:00:00' },
        { source: '压力传感器', target: '深度学习模型', type: 'trains', weight: 2, time: '2024-01-02 08:30:00' },
        { source: '流量传感器', target: '计算机视觉', type: 'assists', weight: 1, time: '2024-01-02 09:00:00' },
        { source: '速度传感器', target: '决策支持系统', type: 'informs', weight: 2, time: '2024-01-02 09:30:00' },
        { source: '位置传感器', target: '专家系统', type: 'guides', weight: 2, time: '2024-01-02 10:00:00' },
        { source: '力传感器', target: '优化算法', type: 'optimizes', weight: 2, time: '2024-01-02 10:30:00' },
        { source: '光传感器', target: '模式识别', type: 'enables', weight: 2, time: '2024-01-02 11:00:00' },
        { source: '声音传感器', target: '智能推荐', type: 'suggests', weight: 1, time: '2024-01-02 11:30:00' },
        { source: '化学传感器', target: '知识图谱', type: 'maps', weight: 1, time: '2024-01-02 12:00:00' },
        { source: '湿度传感器', target: '自然语言处理', type: 'processes', weight: 1, time: '2024-01-02 12:30:00' },

        // 数据流与制造流程交互
        { source: '数据采集', target: '发动机总成', type: 'monitors', weight: 2, time: '2024-01-02 13:00:00' },
        { source: '数据清洗', target: '变速箱总成', type: 'analyzes', weight: 2, time: '2024-01-02 13:30:00' },
        { source: '数据存储', target: '底盘系统', type: 'records', weight: 2, time: '2024-01-02 14:00:00' },
        { source: '数据分析', target: '刹车系统', type: 'evaluates', weight: 2, time: '2024-01-02 14:30:00' },
        { source: '实时监控', target: '转向系统', type: 'watches', weight: 2, time: '2024-01-02 15:00:00' },
        { source: '异常检测', target: '悬挂系统', type: 'inspects', weight: 2, time: '2024-01-02 15:30:00' },
        { source: '预警系统', target: '轮胎总成', type: 'alerts', weight: 2, time: '2024-01-02 16:00:00' },
        { source: '趋势分析', target: '线束总成', type: 'predicts', weight: 1, time: '2024-01-02 16:30:00' },
        { source: '性能评估', target: 'ECU控制器', type: 'evaluates', weight: 2, time: '2024-01-02 17:00:00' },

        // 管理系统与技术系统互联
        { source: '生产计划', target: '数据采集', type: 'schedules', weight: 2, time: '2024-01-02 17:30:00' },
        { source: '资源调度', target: '实时监控', type: 'coordinates', weight: 2, time: '2024-01-02 18:00:00' },
        { source: '任务分配', target: '异常检测', type: 'assigns', weight: 2, time: '2024-01-02 18:30:00' },
        { source: '流程优化', target: '机器学习平台', type: 'improves', weight: 3, time: '2024-01-02 19:00:00' },
        { source: '设备管理', target: '温度传感器', type: 'maintains', weight: 2, time: '2024-01-02 19:30:00' },
        { source: '故障诊断', target: '压力传感器', type: 'uses', weight: 2, time: '2024-01-02 20:00:00' },
        { source: '维修记录', target: '数据存储', type: 'stores', weight: 2, time: '2024-01-02 20:30:00' },
        { source: '备件管理', target: '预警系统', type: 'alerts', weight: 2, time: '2024-01-02 21:00:00' },
        { source: '成本控制', target: '数据分析', type: 'analyzes', weight: 2, time: '2024-01-02 21:30:00' },
        { source: '财务管理', target: '性能评估', type: 'budgets', weight: 2, time: '2024-01-02 22:00:00' },

        // 人员与系统深度集成
        { source: '员工培训', target: '计算机视觉', type: 'uses', weight: 1, time: '2024-01-02 22:30:00' },
        { source: '技能评估', target: '专家系统', type: 'evaluates', weight: 2, time: '2024-01-02 23:00:00' },
        { source: '岗位管理', target: '决策支持系统', type: 'assists', weight: 2, time: '2024-01-02 23:30:00' },
        { source: '绩效考核', target: '数据分析', type: 'measures', weight: 2, time: '2024-01-03 00:00:00' },
        { source: '安全培训', target: '安全监控', type: 'implements', weight: 3, time: '2024-01-03 00:30:00' },
        { source: '应急预案', target: '预警系统', type: 'activates', weight: 3, time: '2024-01-03 01:00:00' },
        { source: '环境保护', target: '环保检测', type: 'enforces', weight: 2, time: '2024-01-03 01:30:00' },
        { source: '健康监测', target: '气体传感器', type: 'monitors', weight: 2, time: '2024-01-03 02:00:00' },

        // 质量与AI深度融合
        { source: '外观检测', target: '智能制造系统', type: 'informs', weight: 2, time: '2024-01-03 02:30:00' },
        { source: '尺寸检测', target: '优化算法', type: 'optimizes', weight: 2, time: '2024-01-03 03:00:00' },
        { source: '功能测试', target: '模式识别', type: 'validates', weight: 2, time: '2024-01-03 03:30:00' },
        { source: '耐久性测试', target: '智能推荐', type: 'suggests', weight: 2, time: '2024-01-03 04:00:00' },
        { source: '安全性测试', target: '知识图谱', type: 'maps', weight: 1, time: '2024-01-03 04:30:00' },
        { source: '环保检测', target: '自然语言处理', type: 'reports', weight: 1, time: '2024-01-03 05:00:00' },
        { source: '噪音检测', target: '质量检测AI', type: 'trains', weight: 2, time: '2024-01-03 05:30:00' },
        { source: '振动检测', target: '短路检测', type: 'correlates', weight: 1, time: '2024-01-03 06:00:00' },

        // 供应链与整体系统集成
        { source: '库存管理', target: '数据可视化', type: 'displays', weight: 2, time: '2024-01-03 06:30:00' },
        { source: '供应链管理', target: '趋势分析', type: 'analyzes', weight: 2, time: '2024-01-03 07:00:00' },
        { source: '产品追溯', target: '实时监控', type: 'tracks', weight: 2, time: '2024-01-03 07:30:00' },
        { source: '客户反馈', target: '数据分析', type: 'informs', weight: 2, time: '2024-01-03 08:00:00' },
        { source: '材料管理', target: '化学传感器', type: 'monitors', weight: 2, time: '2024-01-03 08:30:00' },
        { source: '预测维护', target: '流量传感器', type: 'monitors', weight: 2, time: '2024-01-03 09:00:00' },
        { source: '能源管理', target: '磁力传感器', type: 'controls', weight: 1, time: '2024-01-03 09:30:00' }
      ]
    }
  }
}

// 节点类型颜色映射
export const nodeTypeColors = {
  // 英文类型
  factory: '#ff6b6b',      // 红色 - 工厂
  production: '#4ecdc4',   // 青色 - 生产
  monitor: '#45b7d1',      // 蓝色 - 监控
  quality: '#96ceb4',      // 绿色 - 质量
  data: '#feca57',         // 黄色 - 数据
  ai: '#ff9ff3',           // 粉色 - AI
  maintenance: '#54a0ff',  // 深蓝 - 维护
  energy: '#5f27cd',       // 紫色 - 能源
  personnel: '#00d2d3',    // 青绿 - 人员
  sensor: '#ff7675',       // 橙红 - 传感器
  schedule: '#6c5ce7',     // 紫蓝 - 调度
  inventory: '#a29bfe',    // 淡紫 - 库存
  supply: '#fd79a8',       // 玫瑰 - 供应链
  feedback: '#fdcb6e',     // 橙黄 - 反馈
  trace: '#e17055',        // 橙棕 - 追溯
  safety: '#00b894',       // 深绿 - 安全
  
  // 英文通用类型
  default: '#95a5a6',      // 灰色 - 默认
  system: '#2c3e50',       // 深灰 - 系统
  platform: '#34495e',     // 深蓝灰 - 平台
  tool: '#7f8c8d',         // 中灰 - 工具
  component: '#e67e22',    // 橙色 - 组件
  part: '#d35400',         // 深橙 - 零件
  assembly: '#c0392b',     // 深红 - 总成
  vehicle: '#8e44ad',      // 紫色 - 车型
  product: '#9b59b6',      // 淡紫 - 产品
  fault: '#e74c3c',        // 红色 - 故障
  issue: '#c0392b',        // 深红 - 问题
  test: '#f39c12',         // 橙黄 - 测试
  analysis: '#3498db',     // 蓝色 - 分析
  reason: '#2980b9',       // 深蓝 - 原因
  person: '#1abc9c',       // 青绿 - 人员
  supplier: '#16a085',     // 深青 - 供应商
  frequency: '#27ae60',    // 绿色 - 频次
  plan: '#2ecc71',         // 亮绿 - 计划
  area: '#f1c40f',         // 黄色 - 区域
  workshop: '#f39c12',     // 橙黄 - 车间
  line: '#e67e22',         // 橙色 - 生产线
  
  // 中文类型映射 - 对应实际数据中的9种类型
  // 按重要程度和视觉区分度优化颜色搭配
  '工厂': '#E74C3C',       // 鲜红色 - 工厂 (核心实体)
  '供应商': '#3498DB',     // 蓝色 - 供应商 (重要合作方)
  '车型': '#9B59B6',       // 紫色 - 车型 (产品)
  '零部件': '#F39C12',     // 橙色 - 零部件 (物料)
  '问题事件': '#E67E22',   // 深橙色 - 问题事件 (关键事件)
  '责任人': '#1ABC9C',     // 青绿色 - 责任人 (人员)
  '发起人': '#2ECC71',     // 绿色 - 发起人 (人员)
  '区域': '#F1C40F',       // 黄色 - 区域 (地理)
  '频次': '#8E44AD',       // 深紫色 - 频次 (统计)
  
  // 保留其他可能用到的类型
  '车间': '#f39c12',       // 橙黄 - 车间
  '生产线': '#e67e22',     // 橙色 - 生产线
  '产品': '#9b59b6',       // 淡紫 - 产品
  '零件': '#d35400',       // 深橙 - 零件
  '组件': '#e67e22',       // 橙色 - 组件
  '总成': '#c0392b',       // 深红 - 总成
  '设备': '#54a0ff',       // 深蓝 - 设备
  '传感器': '#ff7675',     // 橙红 - 传感器
  '监控': '#45b7d1',       // 蓝色 - 监控
  '质量': '#96ceb4',       // 绿色 - 质量
  '数据': '#feca57',       // 黄色 - 数据
  '人员': '#1abc9c',       // 青绿 - 人员
  '计划': '#2ecc71',       // 亮绿 - 计划
  '故障': '#e74c3c',       // 红色 - 故障
  '问题': '#c0392b',       // 深红 - 问题
  '测试': '#f39c12',       // 橙黄 - 测试
  '分析': '#3498db',       // 蓝色 - 分析
  '原因': '#2980b9',       // 深蓝 - 原因
  '安全': '#00b894',       // 深绿 - 安全
  '维护': '#54a0ff',       // 深蓝 - 维护
  '能源': '#5f27cd',       // 紫色 - 能源
  '调度': '#6c5ce7',       // 紫蓝 - 调度
  '库存': '#a29bfe',       // 淡紫 - 库存
  '供应链': '#fd79a8',     // 玫瑰 - 供应链
  '反馈': '#fdcb6e',       // 橙黄 - 反馈
  '追溯': '#e17055',       // 橙棕 - 追溯
  '系统': '#2c3e50',       // 深灰 - 系统
  '平台': '#34495e',       // 深蓝灰 - 平台
  '工具': '#7f8c8d'        // 中灰 - 工具
}

// 边类型样式映射 - 扩展版本
export const edgeTypeStyles = {
  // 原有类型
  contains: { color: '#74b9ff', width: 2 },
  connects: { color: '#0984e3', width: 2 },
  controls: { color: '#6c5ce7', width: 3 },
  assembles: { color: '#00b894', width: 2 },
  monitors: { color: '#fdcb6e', width: 3 },
  detects: { color: '#e17055', width: 2 },
  feeds: { color: '#fd79a8', width: 2 },
  alerts: { color: '#e84393', width: 4 },
  analyzes: { color: '#a29bfe', width: 2 },
  enables: { color: '#55efc4', width: 2 },
  optimizes: { color: '#00cec9', width: 2 },
  schedules: { color: '#5f3dc4', width: 3 },
  manages: { color: '#495057', width: 2 },
  coordinates: { color: '#ff7675', width: 2 },
  supplies: { color: '#00b894', width: 3 },
  traces: { color: '#fdcb6e', width: 2 },
  triggers: { color: '#e84393', width: 1 },
  requires: { color: '#74b9ff', width: 1 },
  ensures: { color: '#00cec9', width: 2 },
  powers: { color: '#ffeaa7', width: 4 },

  // 新增类型
  mounts_to: { color: '#ff9f43', width: 3 },
  includes: { color: '#10ac84', width: 2 },
  supports: { color: '#5f27cd', width: 2 },
  inspects: { color: '#ff6348', width: 2 },
  measures: { color: '#2ed573', width: 2 },
  tests: { color: '#ff4757', width: 3 },
  validates: { color: '#3742fa', width: 2 },
  certifies: { color: '#2f3542', width: 2 },
  tracks: { color: '#ff3838', width: 2 },
  calibrates: { color: '#7bed9f', width: 1 },
  collects: { color: '#70a1ff', width: 2 },
  sends: { color: '#5352ed', width: 3 },
  processes: { color: '#ff4757', width: 3 },
  provides: { color: '#2ed573', width: 3 },
  generates: { color: '#ff6348', width: 2 },
  performs: { color: '#ff9f43', width: 3 },
  informs: { color: '#ffa502', width: 2 },
  trains: { color: '#3742fa', width: 3 },
  assists: { color: '#5f27cd', width: 3 },
  guides: { color: '#00d2d3', width: 3 },
  improves: { color: '#ff9ff3', width: 3 },
  suggests: { color: '#54a0ff', width: 2 },
  maps: { color: '#5f27cd', width: 2 },
  defines: { color: '#0984e3', width: 3 },
  allocates: { color: '#6c5ce7', width: 3 },
  assigns: { color: '#a29bfe', width: 2 },
  documents: { color: '#fdcb6e', width: 2 },
  requests: { color: '#fd79a8', width: 2 },
  reports: { color: '#e17055', width: 2 },
  budgets: { color: '#00b894', width: 2 },
  determines: { color: '#74b9ff', width: 2 },
  teaches: { color: '#e84393', width: 3 },
  protects: { color: '#00cec9', width: 2 },

  // 跨系统连接新增类型
  undergoes: { color: '#fd79a8', width: 2 },
  monitored_by: { color: '#fdcb6e', width: 2 },
  tested_by: { color: '#e17055', width: 2 },
  certified_by: { color: '#00b894', width: 2 },
  correlates: { color: '#a29bfe', width: 1 },
  complements: { color: '#55efc4', width: 1 },
  records: { color: '#74b9ff', width: 2 },
  evaluates: { color: '#6c5ce7', width: 2 },
  watches: { color: '#fd79a8', width: 2 },
  predicts: { color: '#e84393', width: 2 },
  maintains: { color: '#00cec9', width: 2 },
  uses: { color: '#ffeaa7', width: 1 },
  stores: { color: '#0984e3', width: 2 },
  implements: { color: '#00b894', width: 3 },
  activates: { color: '#e84393', width: 3 },
  enforces: { color: '#6c5ce7', width: 2 },
  displays: { color: '#fdcb6e', width: 2 },
  logs: { color: '#74b9ff', width: 1 },
  shows: { color: '#fd79a8', width: 2 },
  configures: { color: '#a29bfe', width: 1 },
  notifies: { color: '#e17055', width: 2 },
  enhances: { color: '#55efc4', width: 1 },
  integrates: { color: '#ff7675', width: 2 }
}